package com.htj.admin.dao;

import com.htj.admin.domain.FrontUser;

import java.util.List;
import java.util.Map;

public interface FrontUserDao {
    public FrontUser login(String loginAct, String loginPwd);

    int bindEmail(String id, String email);

    int add(FrontUser frontUser);

    List<FrontUser> pageList(Map<String, String> map);

    int update(FrontUser frontUser);

    int delete(Integer id);

    int changeStatus(Map<String, Integer> map);

    FrontUser getUserById(String id);

    int changeVip(String vipId, String userId);
}
